package com.yzw.phonestoreservice.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @BelongsProject: phonestoresys
 * @BelongsPackage: com.yzw.phonestoreservice.vo
 * @Author: yanhongwei
 * @CreateTime: 2022-11-07  15:03
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ListVo {

    @JsonProperty("s1")
    private Integer specsId;  // 规格id

    @JsonProperty("price")
    private BigDecimal specsPrice;  // 商品价格

    @JsonProperty("stock_num")
    private Integer specsStock;  // 库存
}
